<!--产品审核-->
<style>th{text-align:center;}</style>
<p style="clear: both;"></p>


<h3>待确认订单</h3>
<div class="newMess">
    <table class="table table-striped table-bordered table-hover table-condensed text-center">
        <tbody>
        <tr>
            <th>订单号</th>
            <th>线路名称</th>
            <th>团号</th>
            <th>游客姓名</th>
            <th>联系方式</th>
            <th>预定人数</th>
            <th>订单总额</th>
            <th>直营门店</th>
            <th>下单时间</th>
            <th>分销商</th>
            <th>操作</th>
        </tr>
            <volist name="auditOrderList" id="v">
                <tr>
                    <td>{$v['order_num']}</td>
                    <td>{$v['line_name']}</td>
                    <td>{$v['group_num']}</td>
                    <td>{$v['tourists_name']}</td>
                    <td>{$v['tourists_phone']}</td>
                    <td>
                        预订人数：{$v['total_num']}<br/>
                        大：{$v['adult_num']}<br/>
                        小：{$v['child_num']}<br/>
                    </td>
                    <td>{$v['total_money']}</td>
                    <td>{$v['store']}</td>
                    <td>{$v['create_time']}</td>
                    <td>{$v['reseller']}</td>
                    <td>
                        <if condition="checkAuth('Operator/SaleManger/orderList')">
                            <a href="{:U('Operator/SaleManger/orderList')}" class="btn btn-xs btn-primary">详情</a>
                        </if>
                    </td>
                </tr>
            </volist>
        </tbody>
    </table>
</div>


<h3>待结算订单</h3>
<div class="newMess">
    <table class="table table-striped table-bordered table-hover table-condensed text-center">
        <tbody>
        <tr>
            <th>订单信息</th>
            <th>预订人数</th>
            <th>门店/分销</th>
            <th>销售单价</th>
            <th>销售人</th>
            <th>结算总金额</th>
            <th>币种</th>
            <th>汇率</th>
            <th>实收人民币</th>
            <th>下单时间</th>
            <th>操作人</th>
            <th>操作</th>
        </tr>
        <volist name="closingList" id="v" key="i">
            <tr>
                <td>
                    订单号：{$v.order_num}<br>
                    团号：{$v.group_num}<br>
                    线路名称：{$v.line_name}
                    <if condition ="$v['order_type'] eq 1">(自营)
                        <elseif condition="$v['order_type'] eq 2"/>(供应商)
                    </if>
                </td>
                <td>
                    成人：{$v.adult_num}<br>
                    儿童：{$v.child_num}<br>
                    合计：{$v.total_num}人
                </td>
                <td>{$v['reseller']}{$v['order_type'] == 1 ? '(自营)' : '(分销)' }</td>
                <!-- <td></td> -->
                <td>
                    成人：{$v['adult_price']}<br>
                    儿童：{$v['oldman_price']}<br>
                </td>
                <td>{$v['sales']}</td>
                <td>{$v.total_money}</td>
                <td>{$v.currency_type}</td>
                <td>{$v.settlement_rate}</td>
                <td>{$v['end_need_pay']}</td>
                <td>{$v['create_time']}</td>
                <td>{$v['operation']}</td>
                <td>
                    <if condition="checkAuth('Operator/Finance/settlement_list')">
                        <a href="{:U('Operator/Finance/settlement_list')}" class="btn btn-xs btn-primary">详情</a>
                    </if>
                </td>
            </tr>
        </volist>
        </tbody>
    </table>
</div>



<h3>待上架线路</h3>
<div class="newMess">
    <table class="table table-striped table-bordered table-hover table-condensed text-center">
        <tbody>
        <tr>
            <th class="filtrate_1">线路编号 <!--<input type="checkbox" class="checkAll">--></th>
            <th class="filtrate_2">线路名称</th>
            <th class="filtrate_2">团号</th>
            <th class="filtrate_3">行程天数</th>
            <th class="filtrate_4">出发地</th>
            <th class="filtrate_5">发布时间</th>
            <th class="filtrate_6">供应商</th>
            <th class="filtrate_6">状态</th>
            <th class="filtrate_6">审核人</th>
            <th class="filtrate_7" style="width:80px">操作</th>
        </tr>
        <volist name="lineList" id="vo">
            <tr>
                <td>{$vo.line_sn}</td>
                <td>{$vo.line_name}</td>
                <td>{$vo.group_num}</td>
                <td>{$vo.travel_days}</td>
                <td>{$vo.areaName}</td>
                <td> {$vo.create_time|date="Y-m-d",###}</td>
                <td> {$vo.supplier_name|default="无"}</td>
                <td>
                    <switch name="vo.line_status">
                        <case value="1">已上架</case>
                        <case value="0">待审核</case>
                        <case value="-1">已下架</case>
                        <case value="-2">已拒绝</case>
                    </switch>
                </td>
                <td>{$vo.operator_name}</td>
                <td>
                    <if condition="checkAuth('Operator/Product/lineList')">
                        <a href="{:U('Operator/Product/lineList',array('status'=>0))}" class="btn btn-xs btn-primary">详情</a>
                    </if>
                </td>
            </tr>
        </volist>
        </tbody>
    </table>
</div>

<h3>待合作线路</h3>
<div class="newMess">
    <table class="table table-striped table-bordered table-hover table-condensed text-center">
        <tbody>
        <tr>
            <!-- <th>全选 <input type="checkbox" class="checkAll"></th>-->
            <th>线路编号</th>
            <th>线路名称</th>
            <th>行程天数</th>
            <th>出发地</th>
            <th>供应商</th>
            <th>成本价</th>
            <th>状态</th>
            <th>操作</th>
        </tr>
            <volist name="cooperationList" id="vo">
                <tr>
                    <!-- <td><input type="checkbox" class="chk" value=""></td>-->
                    <td>{$vo.line_sn}</td>
                    <td>{$vo.line_name}</td>
                    <td>{$vo.travel_days}</td>
                    <td>{$vo.areaName}</td>
                    <td> {$vo.supplier_name|default="无"}</td>
                    <td>
                        <if condition="$vo['adult_money'] gt 0">
                            成{$vo.adult_money};儿{$vo.child_money}<!--;老{$vo.oldman_money}-->
                        </if>
                    </td>
                    <td>
                        <switch name="vo.partner_status">
                            <case value="0">[待处理]</case>
                            <case value="-1">[已拒绝]</case>
                            <case value="1">[合作中]</case>
                        </switch>
                        <switch name="vo.line_status">
                            <case value="-1">[线路已下架]</case>
                            <case value="0">[待上架审核]</case>
                            <case value="1">[线路已上架]</case>
                            <case value="-2">[线路已被拒]</case>
                            <case value="-4">[线路已过期]</case>
                            <case value="-3">[线路未编辑]</case>
                        </switch>

                    </td>
                    <td>
                        <if condition="checkAuth('Operator/Product/cooperationList')">
                            <a href="{:U('Operator/Product/cooperationList')}" class="btn btn-xs btn-primary">详情</a>
                        </if>
                    </td>
                </tr>
        </volist>
        </tbody>
    </table>
</div>

<h3>单品供应商审核</h3>
<div class="newMess">
    <table class="table table-striped table-bordered table-hover table-condensed text-center">
        <tbody>
            <tr>
                <th class="filtrate_1">供应商编号 <!--<input type="checkbox" class="checkAll">--></th>
                <th class="filtrate_2">供应商名称</th>
                <th class="filtrate_2">所在地</th>
                <th class="filtrate_3">项目</th>
                <th class="filtrate_4">联系人</th>
                <th class="filtrate_5">联系电话</th>
                <th class="filtrate_6">状态</th>
                <th class="filtrate_6">合作时间</th>
                <th class="filtrate_7" style="width:80px">操作</th>
            </tr>
        <volist name="singleSupplier" id="vo">
            <tr>
                <td>{$vo.supplier_sn}
                </td>
                <td>{$vo.supplier_name}</td>
                <td>{$vo.city}</td>
                <td>{$vo.typeName}</td>
                <td>{$vo.Linkman}</td>
                <td>{$vo.Linkman_phone}</td>
                <td>
                    <switch name="vo.status">
                        <case value="1">合作</case>
                        <case value="-1">停止</case>
                    </switch>
                </td>
                <td>{$vo.start_time}-{$vo.end_time}</td>
                <td style="width:60px;">
                    <switch name="vo.type">
                        <case value="1">
                            <if condition="checkAuth('Operator/Shops/trafficShops')">
                                <a href="{:U('Operator/Shops/trafficShops')}" class="btn btn-xs btn-primary">详情</a>
                             </if>
                        </case>
                        <case value="2">
                            <if condition="checkAuth('Operator/Shops/hotelShops')">
                                <a href="{:U('Operator/Shops/hotelShops')}" class="btn btn-xs btn-primary">详情</a>
                             </if>
                        </case>
                        <case value="4">
                            <if condition="checkAuth('Operator/Shops/scenicShops')">
                                <a href="{:U('Operator/Shops/scenicShops')}" class="btn btn-xs btn-primary">详情</a>
                             </if>
                        </case><case value="3">
                            <if condition="checkAuth('Operator/Shops/insureShops')">
                                <a href="{:U('Operator/Shops/insureShops')}" class="btn btn-xs btn-primary">详情</a>
                             </if>
                        </case>
                    </switch>
                </td>
            </tr>
        </volist>
        </tbody>
    </table>
</div>
<h3>单品审核</h3>
<div class="newMess">
    <table class="table table-striped table-bordered table-hover table-condensed text-center">
        <tbody>
        <tr >
            <th>供应商名称</th>
            <th>产品名称</th>
            <th>供应商编号</th>
            <th>销售单价</th>
          <!--  <th>合作时间</th>-->
            <th>操作人</th>
            <th>审核状态</th>
            <th>是否上架</th>
            <th style="width:80px;">操作</th>
        </tr>
        <!--酒店-->
        <volist name="auditList['hotelList']" id="vo">
            <tr>
                <td>{$vo.supplier_name}</td>
                <td>酒店</td>
                <td>{$vo.supplier_sn}</td>
                <td>{$vo.room_name}: 儿童价：{$vo.child_actual_cost}元/人<br>成人价：{$vo.adult_actual_cost}元/人 </td>
             <!--   <td>{$vo.start_time|date="Y-m-d",###}至{$vo.end_time|date="Y-m-d",###}</td>-->
                <td>{$vo.audit_name}</td>
                <td>
                    <switch name="vo.is_review">
                        <case value="1">已审核</case>
                        <case value="-1">未审核</case>
                        <case value="-2">已拒绝</case>
                    </switch>
                </td>
                <td>
                    <switch name="vo.is_shelves">
                        <case value="1">是</case>
                        <case value="-1">否</case>
                    </switch>
                </td>
                <td>
                    <if condition="checkAuth('Dealer/Shops/hotelProductById')">
                        <a href="{:U('Shops/hotelProductById',array('id'=>$vo['supplier_id']))}" class="btn btn-xs btn-primary">详情</a>
                    </if>
                </td>
            </tr>
        </volist>
        <!--景区-->

        <volist name="auditList['scenicList']" id="vo">
            <tr>
                <td>{$vo.supplier_name}</td>
                <td>景区</td>
                <td>{$vo.supplier_sn}</td>
                <td>{$vo.scenic_name}: 儿童价：{$vo.child_actual_cost}元/人<br>成人价：{$vo.adult_actual_cost}元/人 </td>
                <!--<td>{$vo.start_time|date="Y-m-d",###}至{$vo.end_time|date="Y-m-d",###}</td>-->
                <td>{$vo.audit_name}</td>
                <td>
                    <switch name="vo.is_review">
                        <case value="1">已审核</case>
                        <case value="-1">未审核</case>
                        <case value="-2">已拒绝</case>
                    </switch>
                </td>
                <td>
                    <switch name="vo.is_shelves">
                        <case value="1">是</case>
                        <case value="-1">否</case>
                    </switch>
                </td>
                <td>
                    <if condition="checkAuth('Dealer/Shops/scenicProductById')">
                        <a href="{:U('Shops/scenicProductById',array('id'=>$vo['supplier_id']))}" class="btn btn-xs btn-primary">详情</a>
                    </if>

                </td>
            </tr>
        </volist>
        <!--保险-->
        <volist name="auditList['insureList']" id="vo">
            <tr>
                <td>{$vo.supplier_name}</td>
                <td>保险</td>
                <td>{$vo.supplier_sn}</td>
                <td>{$vo.insure_name}: 儿童价：{$vo.child_actual_cost}元/人<br>成人价：{$vo.adult_actual_cost}元/人 </td>
                <!--<td>{$vo.start_time|date="Y-m-d",###}至{$vo.end_time|date="Y-m-d",###}</td>-->
                <td>{$vo.audit_name}</td>
                <td>
                    <switch name="vo.is_review">
                        <case value="1">已审核</case>
                        <case value="-1">未审核</case>
                        <case value="-2">已拒绝</case>
                    </switch>
                </td>
                <td>
                    <switch name="vo.is_shelves">
                        <case value="1">是</case>
                        <case value="-1">否</case>
                    </switch>
                </td>
                <td>
                    <if condition="checkAuth('Dealer/Shops/insureProductById')">
                        <a href="{:U('Shops/insureProductById',array('id'=>$vo['supplier_id']))}" class="btn btn-xs btn-primary">详情</a>
                    </if>
                </td>
            </tr>
        </volist>

        <!--交通-->
        <volist name="auditList['trafficList']" id="vo">
            <tr>
                <td>{$vo.supplier_name}</td>
                <td>交通</td>
                <td>{$vo.supplier_sn}</td>
                <td>{$vo.traffic_name}: 儿童价：{$vo.child_actual_cost}元/人<br>成人价：{$vo.adult_actual_cost}元/人 </td>
                <!--<td>{$vo.start_time|date="Y-m-d",###}至{$vo.end_time|date="Y-m-d",###}</td>-->
                <td>{$vo.audit_name}</td>
                <td>
                    <switch name="vo.is_review">
                        <case value="1">已审核</case>
                        <case value="-1">未审核</case>
                        <case value="-2">已拒绝</case>
                    </switch>
                </td>
                <td>
                    <switch name="vo.is_shelves">
                        <case value="1">是</case>
                        <case value="-1">否</case>
                    </switch>
                </td>
                <td>
                    <if condition="checkAuth('Dealer/Shops/trafficProductById')">
                        <a href="{:U('Shops/trafficProductById',array('id'=>$vo['supplier_id']))}" class="btn btn-xs btn-primary">详情</a>
                    </if>
                </td>
            </tr>
        </volist>
        </tbody>
    </table>
</div>
<!--产品审核结束-->